
{% extends "base.html" %}
{% block header %}
<link rel="stylesheet" href="/css/login.css">
{% endblock %}
{% block content %}
    <div class="main-content">
        <div class="login-container">
            <div class="login-header">
                <h2>Sign In</h2>
            </div>
            <form method="post" id="loginForm">
                <div class="mb-3">
                    <label for="username" class="form-label">Username</label>
                    <input type="text" class="form-control" id="username" name="username" placeholder="Enter your username">
                </div>
                <div class="mb-3">
                    <label for="password" class="form-label">Password</label>
                    <input type="password" class="form-control" id="password" name="password" placeholder="Enter your password">
                    <label for="password" class="form-label" style="color:red;">{{error}}</label>
                </div>
                <button type="submit" class="btn btn-primary">Sign In</button>
                <div class="register-link" onclick="register_click()">
                    <span>New User? </span><a href="#">Click to Register</a>
                </div>
            </form>
        </div>
    </div>
{% endblock %}

{% block footer %}
<script src="/js/login.js"></script>
{% endblock %}